package com.cheng.im.service.group.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel("IM导入群成员请求类")
public class ImportGroupMemberReq extends RequestBase {

    @NotBlank(message = "群id不能为空")
    @ApiModelProperty("群ID")
    private String groupId;

    @ApiModelProperty("群成员传输对象列表")
    private List<GroupMemberDto> members;

}
